import { request } from "../utils/request";

//当前用户发布的作品集
export const getOpusList = (data) => {
  return request({
    url: "/app-api/llm/opus/wx/opus/page",
    method: "POST",
    data,
  });
};

//购买记录列表
export const orderList = (data) => {
  return request({
    url: "/app-api/llm/trade/order/page-subject-code",
    method: "GET",
    data,
  });
};
//购买记录详情
export const getCode = (data) => {
  return request({
    url: "/app-api/llm/trade/order/get-detail-subject-code",
    method: "GET",
    data,
  });
};
export const pageList = (data) => {
  return request({
    url: "/app-api/llm/promotion/code2/page",
    method: "GET",
    data,
  });
};
